package com.gxa.p2p.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * @author xiangzuo
 * 活动日志
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "活动发放记录")
public class Activitylog implements Serializable {

  private Long id;
  @ApiModelProperty(name = "invPhone",value = "邀请人的手机")
  private String invPhone;
  @ApiModelProperty(name = "invedPhone",value = "被邀请人的手机")
  private String invedPhone;
  @ApiModelProperty(name = "invedName",value = "被邀请人的名字")
  private String invedName;
  @ApiModelProperty(name = "event",value = "奖励事件")
  private String event;
  @ApiModelProperty(name = "reward",value = "奖励")
  private String reward;
  @ApiModelProperty(name = "baseMoney",value = "基数")
  private Double baseMoney;
  @ApiModelProperty(name = "Ratio",value = "比例")
  private Double Ratio;
  @ApiModelProperty(name = "rewardPeo",value = "被奖励人")
  private String rewardPeo;
  @ApiModelProperty(name = "proTime",value = "发放时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Date proTime;
  @ApiModelProperty(name = "state",value = "0表示失败，1表示成功")
  private Boolean state;
}
